<div >
<form class="form-horizontal" role="form" novalidate name="stForm" ng-switch on="translate.timeTypeCode.timeTypeCode">
    <div class="form-ctrl md-whiteframe-z1">
        <div class="form-search" style="height:220px;" ng-class="{true: 'shou'}[shoumun==0]" >
            <div>
                <label style="width:70px">系统名称</label>
                <md-select   ng-model="translate.sysCode">
                    <md-select-label>
                        {{translate.sysCode ? translate.sysCode.sysName :'物理网'}}
                    </md-select-label>
                    <md-option ng-value="sys" ng-repeat="sys in sysNames">{{sys.sysName}}</md-option>
                </md-select>
            </div>
            <div>
                <md-select multiple ng-model="translate.code" >
                    <md-select-label>
                        {{translate.code.length ? _getNames(translate.code,'name',upData) :'全部'}}
                    </md-select-label>
                    <md-option ng-value="" ng-click="_checkAll(translate,'code')">全部</md-option>
                    <md-option ng-value="up" ng-repeat="up in upData" ng-click="clickTranslate()">{{up.name}}</md-option>
                </md-select>
            </div>
            <div>
                <md-select  ng-model="translate.typeCode" >
                    <md-select-label>
                        {{translate.typeCode ? translate.typeCode.name :'处理成功率'}}
                    </md-select-label>
                    <md-option ng-value="type" ng-repeat="type in typeData">{{type.name}}</md-option>
                </md-select>
            </div>
            <div>
                <label style="width:40px">类型</label>
                <md-select ng-model="translate.staticTypeCode" >
                    <md-select-label>
                        {{translate.staticTypeCode ? translate.staticTypeCode.staticTypeName :'对比'}}
                    </md-select-label>
                    <md-option ng-value="staticType" ng-repeat="staticType in staticTypes">{{staticType.staticTypeName}}</md-option>
                </md-select>
            </div>
            <div>
                <label style="">账期</label>
                <md-select ng-model="translate.timeTypeCode">
                    <md-select-label >
                        {{translate.timeTypeCode ? translate.timeTypeCode.timeTypeName :'日'}}
                    </md-select-label>
                    <md-option ng-value="item" ng-repeat="item in timeTypes" >{{item.timeTypeName}}</md-option>
                </md-select>
            </div>
            <div>
                <md-input-container flex>
                    <label >开始时间</label>
                    <input name="dateStartTime" type="date" time-validate ='day' end-time="translate.endTime" ng-model="translate.startTime"  ng-switch-default required>
                    <div ng-messages="stForm.dateStartTime.$error">
                      <div ng-message="date">请正确输入时间</div>
                      <div ng-message="time-error">{{errorInfo.startTime[0]}} </div>
                      <div ng-message="too-great">{{errorInfo.startTime[1]}}</div>
                    </div>
                    <input name="monthStartTime" time-validate='month' ng-model="translate.startTime"  end-time="translate.endTime" type="datetime-local" ng-switch-when="0" required>
                    <div ng-messages="stForm.monthStartTime.$error">
                      <div ng-message="date">请正确输入时间</div>
                      <div ng-message="time-error">{{errorInfo.startTime[0]}} </div>
                      <div ng-message="too-great">{{errorInfo.startTime[1]}}</div>
                    </div>
                </md-input-container >
            </div>
            <div>
                <md-input-container flex>
                    <label>结束时间</label>
                    <input name="dateEndTime" time-validate ='day' type="date" ng-model="translate.endTime"  start-time="translate.startTime" ng-switch-default required>
                    <div ng-messages="stForm.dateEndTime.$error">
                      <div ng-message="date">请正确输入时间</div>
                      <div ng-message="time-error">{{errorInfo.endTime[0]}} </div>
                      <div ng-message="too-great">{{errorInfo.endTime[1]}}</div>
                    </div>
                    <input name="monthEndTime" time-validate='month'  ng-model="translate.endTime"  type="datetime-local" name ='monthEndTime' start-time="translate.startTime" ng-switch-when="0" required>
                    <div ng-messages="stForm.monthEndTime.$error">
                      <div ng-message="date">请正确输入时间</div>
                      <div ng-message="time-error">{{errorInfo.endTime[0]}} </div>
                      <div ng-message="too-great">{{errorInfo.endTime[1]}}</div>
                    </div>
                </md-input-container >
            </div>
        </div>
        <i class="glyphicon glyphicon-chevron-up shrinkage" ng-show = 'flagObj&&!stForm.$invalid' ng-click="shoumun=0"></i>
        <md-button ng-click="queryIntegrityAnalysis()" ng-disabled='stForm.$invalid' ng-click="shoumun==1?shoumun=0:shoumun=1" class="md-fab md-primary md-hue-1" aria-label="Profile">
            <i class="glyphicon glyphicon-arrow-down" style="margin-top:28px;" ng-show="shoumun==0"></i>
            <i class="glyphicon glyphicon-search" ng-show="shoumun==1"></i>
        </md-button>
    </div>
</form>
<div class="table-info"   >
   <div  id="traffic1" style='height:550px;padding-bottom:20px'></div>
   <!--<div ng-show="translate.staticTypeCode.staticTypeCode ==2" id="traffic2" style='height:550px;padding-bottom:20px'></div>-->
   <!--<div ng-show="translate.staticTypeCode.staticTypeCode ==3"  id="traffic3" style='height:550px;padding-bottom:20px'></div>-->
</div>
</div>
